# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Eric Bélanger <eric@archlinux.org>

pkgname=keychain
pkgver=2.8.5
pkgrel=2
pkgdesc="A front-end to ssh-agent, allowing one long-running ssh-agent process per system, rather than per login"
arch=(any)
url="https://www.funtoo.org/Keychain"
license=(GPL2)
depends=(sh)
source=($pkgname-$pkgver.tar.gz::"https://github.com/funtoo/keychain/archive/$pkgver.tar.gz")
sha256sums=('dcce703e5001211c8ebc0528f45b523f84d2bceeb240600795b4d80cb8475a0b')

package() {
  cd $pkgname-$pkgver
  install -Dm755 keychain "$pkgdir"/usr/bin/keychain
  install -Dm644 keychain.1 "$pkgdir"/usr/share/man/man1/keychain.1
}
